package com.ruoyi.mk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分组管理对象 mk_group_management
 * 
 * @author guan
 * @date 2021-12-10
 */
public class MkGroupManagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id编号 */
    private Long id;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String areaName;

    /** 区域id */
    @Excel(name = "区域id")
    private Long parentId;

    /** 排序1 */
    @Excel(name = "排序1")
    private Long sort1;

    /** 排序2 */
    @Excel(name = "排序2")
    private Long sort2;

    /** 排序3 */
    @Excel(name = "排序3")
    private Long sort3;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 状态（0为正常，1为关闭） */
    @Excel(name = "状态", readConverterExp = "0=为正常，1为关闭")
    private Integer status;

    /** 负责人 */
    @Excel(name = "负责人")
    private String principal;

    /** 删除（0为正常，1为删除） */
    @Excel(name = "删除", readConverterExp = "0=为正常，1为删除")
    private Integer deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setSort1(Long sort1) 
    {
        this.sort1 = sort1;
    }

    public Long getSort1() 
    {
        return sort1;
    }
    public void setSort2(Long sort2) 
    {
        this.sort2 = sort2;
    }

    public Long getSort2() 
    {
        return sort2;
    }
    public void setSort3(Long sort3) 
    {
        this.sort3 = sort3;
    }

    public Long getSort3() 
    {
        return sort3;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setPrincipal(String principal) 
    {
        this.principal = principal;
    }

    public String getPrincipal() 
    {
        return principal;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("areaName", getAreaName())
            .append("parentId", getParentId())
            .append("sort1", getSort1())
            .append("sort2", getSort2())
            .append("sort3", getSort3())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("remarks", getRemarks())
            .append("status", getStatus())
            .append("principal", getPrincipal())
            .append("updateBy", getUpdateBy())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("deleted", getDeleted())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
